package com.open.companymessage.company.service;


import com.open.capacity.common.model.CompanyActive;
import com.open.capacity.common.model.SysCompany;
import com.open.capacity.common.web.Result;
import com.open.companymessage.company.vo.UserCompany;

import java.util.List;
import java.util.Map;

public interface CompanyService {
    Result addCompany(UserCompany userCompany,String token);

    Result updateCompany(SysCompany sysCompany);

    List<SysCompany> selectCompany(Map<String,Object> map);


    Result deleteCompany(Long id);

    List<CompanyActive> selectCompanyActive(Map<String, Object> map);

    Result insertCompanyID(CompanyActive companyActive);

    Result deleteCompanyActiveId(CompanyActive companyActive);
}
